#ifndef __Key_profile__h__
#define __Key_profile__h__

#include <QList>
#include "Sequence.h"
#include <QString>

namespace vkbrd
{
	class KeyProfile
	{
		QList<Sequence> sequences;

	public:

		QString name;

		KeyProfile(const QString& _name){name = _name;}

		KeyProfile(QDomElement& _profileElement);

		void findMatchingSequences(BoolFingers _seq, QList<Sequence>& _matchingSequences);

		void addSequence(const Sequence& _seq);

		void serialize( QXmlStreamWriter* _writer );

		QList<Sequence>& getSequences(){return sequences;}

		void clearSequences();

		static const QString keyProfileXmlElementName;
	};
} //namespace vkbrd

#endif